package controllers

import (
	beego "github.com/beego/beego/v2/server/web"
)

/**
 * Created with Goland.
 * User: 令狐飞侠
 * Date: 2022-3-8
 * Description: beego简单的路哟
 */
//买家的controller
type BuyerController struct {
	beego.Controller
}

//卖家的controller
type SellerController struct {
	beego.Controller
}

func (c *BuyerController) Get() {
	c.Ctx.WriteString("我想买一辆超级跑车！")
}


func (c *SellerController) Get() {
	c.Ctx.WriteString("我有奔驰、宝马、法拉利...")
}


